Optimal. Leaf size=907 \[ -\frac {15 b^3 d^4 n^3 \left (d+e \sqrt {x}\right )^2}{4 e^6}+\frac {40 b^3 d^3 n^3 \left (d+e \sqrt {x}\right )^3}{27 e^6}-\frac {15 b^3 d^2 n^3 \left (d+e \sqrt {x}\right )^4}{32 e^6}+\frac {12 b^3 d n^3 \left (d+e \sqrt {x}\right )^5}{125 e^6}-\frac {b^3 n^3 \left (d+e \sqrt {x}\right )^6}{108 e^6}-\frac {12 a b^2 d^5 n^2 \sqrt {x}}{e^5}+\frac {12 b^3 d^5 n^3 \sqrt {x}}{e^5}-\frac {12 b^3 d^5 n^2 \left (d+e \sqrt {x}\right ) \log \left (c \left (d+e \sqrt {x}\right )^n\right )}{e^6}+\frac {15 b^2 d^4 n^2 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{2 e^6}-\frac {40 b^2 d^3 n^2 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{9 e^6}+\frac {15 b^2 d^2 n^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{8 e^6}-\frac {12 b^2 d n^2 \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{25 e^6}+\frac {b^2 n^2 \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{18 e^6}+\frac {6 b d^5 n \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{e^6}-\frac {15 b d^4 n \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{2 e^6}+\frac {20 b d^3 n \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{3 e^6}-\frac {15 b d^2 n \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{4 e^6}+\frac {6 b d n \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{5 e^6}-\frac {b n \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{6 e^6}-\frac {2 d^5 \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {5 d^4 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {20 d^3 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {5 d^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {2 d \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {\left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.67, antiderivative size = 907, normalized size of antiderivative = 1.00, number of steps
used = 28, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2504, 2448,
2436, 2333, 2332, 2437, 2342, 2341} \begin {gather*} -\frac {b^3 n^3 \left (d+e \sqrt {x}\right )^6}{108 e^6}+\frac {\left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )^6}{3 e^6}-\frac {b n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )^6}{6 e^6}+\frac {b^2 n^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \left (d+e \sqrt {x}\right )^6}{18 e^6}+\frac {12 b^3 d n^3 \left (d+e \sqrt {x}\right )^5}{125 e^6}-\frac {2 d \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )^5}{e^6}+\frac {6 b d n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )^5}{5 e^6}-\frac {12 b^2 d n^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \left (d+e \sqrt {x}\right )^5}{25 e^6}-\frac {15 b^3 d^2 n^3 \left (d+e \sqrt {x}\right )^4}{32 e^6}+\frac {5 d^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )^4}{e^6}-\frac {15 b d^2 n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )^4}{4 e^6}+\frac {15 b^2 d^2 n^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \left (d+e \sqrt {x}\right )^4}{8 e^6}+\frac {40 b^3 d^3 n^3 \left (d+e \sqrt {x}\right )^3}{27 e^6}-\frac {20 d^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )^3}{3 e^6}+\frac {20 b d^3 n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )^3}{3 e^6}-\frac {40 b^2 d^3 n^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \left (d+e \sqrt {x}\right )^3}{9 e^6}-\frac {15 b^3 d^4 n^3 \left (d+e \sqrt {x}\right )^2}{4 e^6}+\frac {5 d^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )^2}{e^6}-\frac {15 b d^4 n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )^2}{2 e^6}+\frac {15 b^2 d^4 n^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \left (d+e \sqrt {x}\right )^2}{2 e^6}-\frac {2 d^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \left (d+e \sqrt {x}\right )}{e^6}+\frac {6 b d^5 n \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2 \left (d+e \sqrt {x}\right )}{e^6}-\frac {12 b^3 d^5 n^2 \log \left (c \left (d+e \sqrt {x}\right )^n\right ) \left (d+e \sqrt {x}\right )}{e^6}+\frac {12 b^3 d^5 n^3 \sqrt {x}}{e^5}-\frac {12 a b^2 d^5 n^2 \sqrt {x}}{e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2333
Rule 2341
Rule 2342
Rule 2436
Rule 2437
Rule 2448
Rule 2504
Rubi steps
\begin {align*} \int x^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3 \, dx &=2 \text {Subst}\left (\int x^5 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )\\ &=2 \text {Subst}\left (\int \left (-\frac {d^5 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}+\frac {5 d^4 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}-\frac {10 d^3 (d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}+\frac {10 d^2 (d+e x)^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}-\frac {5 d (d+e x)^4 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}+\frac {(d+e x)^5 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^5}\right ) \, dx,x,\sqrt {x}\right )\\ &=\frac {2 \text {Subst}\left (\int (d+e x)^5 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}-\frac {(10 d) \text {Subst}\left (\int (d+e x)^4 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}+\frac {\left (20 d^2\right ) \text {Subst}\left (\int (d+e x)^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}-\frac {\left (20 d^3\right ) \text {Subst}\left (\int (d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}+\frac {\left (10 d^4\right ) \text {Subst}\left (\int (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}-\frac {\left (2 d^5\right ) \text {Subst}\left (\int \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\sqrt {x}\right )}{e^5}\\ &=\frac {2 \text {Subst}\left (\int x^5 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {(10 d) \text {Subst}\left (\int x^4 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}+\frac {\left (20 d^2\right ) \text {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {\left (20 d^3\right ) \text {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}+\frac {\left (10 d^4\right ) \text {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {\left (2 d^5\right ) \text {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+e \sqrt {x}\right )}{e^6}\\ &=-\frac {2 d^5 \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {5 d^4 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {20 d^3 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {5 d^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {2 d \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {\left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}-\frac {(b n) \text {Subst}\left (\int x^5 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}+\frac {(6 b d n) \text {Subst}\left (\int x^4 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {\left (15 b d^2 n\right ) \text {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}+\frac {\left (20 b d^3 n\right ) \text {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {\left (15 b d^4 n\right ) \text {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}+\frac {\left (6 b d^5 n\right ) \text {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+e \sqrt {x}\right )}{e^6}\\ &=\frac {6 b d^5 n \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{e^6}-\frac {15 b d^4 n \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{2 e^6}+\frac {20 b d^3 n \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{3 e^6}-\frac {15 b d^2 n \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{4 e^6}+\frac {6 b d n \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{5 e^6}-\frac {b n \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{6 e^6}-\frac {2 d^5 \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {5 d^4 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {20 d^3 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {5 d^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {2 d \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {\left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {\left (b^2 n^2\right ) \text {Subst}\left (\int x^5 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{3 e^6}-\frac {\left (12 b^2 d n^2\right ) \text {Subst}\left (\int x^4 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{5 e^6}+\frac {\left (15 b^2 d^2 n^2\right ) \text {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{2 e^6}-\frac {\left (40 b^2 d^3 n^2\right ) \text {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{3 e^6}+\frac {\left (15 b^2 d^4 n^2\right ) \text {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{e^6}-\frac {\left (12 b^2 d^5 n^2\right ) \text {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+e \sqrt {x}\right )}{e^6}\\ &=-\frac {15 b^3 d^4 n^3 \left (d+e \sqrt {x}\right )^2}{4 e^6}+\frac {40 b^3 d^3 n^3 \left (d+e \sqrt {x}\right )^3}{27 e^6}-\frac {15 b^3 d^2 n^3 \left (d+e \sqrt {x}\right )^4}{32 e^6}+\frac {12 b^3 d n^3 \left (d+e \sqrt {x}\right )^5}{125 e^6}-\frac {b^3 n^3 \left (d+e \sqrt {x}\right )^6}{108 e^6}-\frac {12 a b^2 d^5 n^2 \sqrt {x}}{e^5}+\frac {15 b^2 d^4 n^2 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{2 e^6}-\frac {40 b^2 d^3 n^2 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{9 e^6}+\frac {15 b^2 d^2 n^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{8 e^6}-\frac {12 b^2 d n^2 \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{25 e^6}+\frac {b^2 n^2 \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{18 e^6}+\frac {6 b d^5 n \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{e^6}-\frac {15 b d^4 n \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{2 e^6}+\frac {20 b d^3 n \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{3 e^6}-\frac {15 b d^2 n \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{4 e^6}+\frac {6 b d n \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{5 e^6}-\frac {b n \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{6 e^6}-\frac {2 d^5 \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {5 d^4 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {20 d^3 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {5 d^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {2 d \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {\left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}-\frac {\left (12 b^3 d^5 n^2\right ) \text {Subst}\left (\int \log \left (c x^n\right ) \, dx,x,d+e \sqrt {x}\right )}{e^6}\\ &=-\frac {15 b^3 d^4 n^3 \left (d+e \sqrt {x}\right )^2}{4 e^6}+\frac {40 b^3 d^3 n^3 \left (d+e \sqrt {x}\right )^3}{27 e^6}-\frac {15 b^3 d^2 n^3 \left (d+e \sqrt {x}\right )^4}{32 e^6}+\frac {12 b^3 d n^3 \left (d+e \sqrt {x}\right )^5}{125 e^6}-\frac {b^3 n^3 \left (d+e \sqrt {x}\right )^6}{108 e^6}-\frac {12 a b^2 d^5 n^2 \sqrt {x}}{e^5}+\frac {12 b^3 d^5 n^3 \sqrt {x}}{e^5}-\frac {12 b^3 d^5 n^2 \left (d+e \sqrt {x}\right ) \log \left (c \left (d+e \sqrt {x}\right )^n\right )}{e^6}+\frac {15 b^2 d^4 n^2 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{2 e^6}-\frac {40 b^2 d^3 n^2 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{9 e^6}+\frac {15 b^2 d^2 n^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{8 e^6}-\frac {12 b^2 d n^2 \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{25 e^6}+\frac {b^2 n^2 \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{18 e^6}+\frac {6 b d^5 n \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{e^6}-\frac {15 b d^4 n \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{2 e^6}+\frac {20 b d^3 n \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{3 e^6}-\frac {15 b d^2 n \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{4 e^6}+\frac {6 b d n \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{5 e^6}-\frac {b n \left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^2}{6 e^6}-\frac {2 d^5 \left (d+e \sqrt {x}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {5 d^4 \left (d+e \sqrt {x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {20 d^3 \left (d+e \sqrt {x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}+\frac {5 d^2 \left (d+e \sqrt {x}\right )^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}-\frac {2 d \left (d+e \sqrt {x}\right )^5 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{e^6}+\frac {\left (d+e \sqrt {x}\right )^6 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )^3}{3 e^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.45, size = 661, normalized size = 0.73 \begin {gather*} \frac {-36000 b^3 d^6 n^3 \log ^3\left (d+e \sqrt {x}\right )+5400 b^2 d^6 n^2 \log ^2\left (d+e \sqrt {x}\right ) \left (20 a-49 b n+20 b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )-60 b d^6 n \log \left (d+e \sqrt {x}\right ) \left (1800 a^2-8820 a b n+13489 b^2 n^2+180 b (20 a-49 b n) \log \left (c \left (d+e \sqrt {x}\right )^n\right )+1800 b^2 \log ^2\left (c \left (d+e \sqrt {x}\right )^n\right )\right )+e \sqrt {x} \left (36000 a^3 e^5 x^{5/2}+b^3 n^3 \left (809340 d^5-140070 d^4 e \sqrt {x}+41180 d^3 e^2 x-13785 d^2 e^3 x^{3/2}+4368 d e^4 x^2-1000 e^5 x^{5/2}\right )-60 a b^2 n^2 \left (8820 d^5-2610 d^4 e \sqrt {x}+1140 d^3 e^2 x-555 d^2 e^3 x^{3/2}+264 d e^4 x^2-100 e^5 x^{5/2}\right )+1800 a^2 b n \left (60 d^5-30 d^4 e \sqrt {x}+20 d^3 e^2 x-15 d^2 e^3 x^{3/2}+12 d e^4 x^2-10 e^5 x^{5/2}\right )+60 b \left (1800 a^2 e^5 x^{5/2}+60 a b n \left (60 d^5-30 d^4 e \sqrt {x}+20 d^3 e^2 x-15 d^2 e^3 x^{3/2}+12 d e^4 x^2-10 e^5 x^{5/2}\right )+b^2 n^2 \left (-8820 d^5+2610 d^4 e \sqrt {x}-1140 d^3 e^2 x+555 d^2 e^3 x^{3/2}-264 d e^4 x^2+100 e^5 x^{5/2}\right )\right ) \log \left (c \left (d+e \sqrt {x}\right )^n\right )+1800 b^2 \left (60 a e^5 x^{5/2}+b n \left (60 d^5-30 d^4 e \sqrt {x}+20 d^3 e^2 x-15 d^2 e^3 x^{3/2}+12 d e^4 x^2-10 e^5 x^{5/2}\right )\right ) \log ^2\left (c \left (d+e \sqrt {x}\right )^n\right )+36000 b^3 e^5 x^{5/2} \log ^3\left (c \left (d+e \sqrt {x}\right )^n\right )\right )}{108000 e^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \ln \left (c \left (d +e \sqrt {x}\right )^{n}\right )\right )^{3}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 655, normalized size = 0.72 \begin {gather*} \frac {1}{3} \, b^{3} x^{3} \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right )^{3} + a b^{2} x^{3} \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right )^{2} + a^{2} b x^{3} \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right ) + \frac {1}{3} \, a^{3} x^{3} - \frac {1}{60} \, {\left (60 \, d^{6} e^{\left (-7\right )} \log \left (\sqrt {x} e + d\right ) + {\left (30 \, d^{4} x e - 60 \, d^{5} \sqrt {x} - 20 \, d^{3} x^{\frac {3}{2}} e^{2} + 15 \, d^{2} x^{2} e^{3} - 12 \, d x^{\frac {5}{2}} e^{4} + 10 \, x^{3} e^{5}\right )} e^{\left (-6\right )}\right )} a^{2} b n e + \frac {1}{1800} \, {\left ({\left (1800 \, d^{6} \log \left (\sqrt {x} e + d\right )^{2} + 8820 \, d^{6} \log \left (\sqrt {x} e + d\right ) - 8820 \, d^{5} \sqrt {x} e + 2610 \, d^{4} x e^{2} - 1140 \, d^{3} x^{\frac {3}{2}} e^{3} + 555 \, d^{2} x^{2} e^{4} - 264 \, d x^{\frac {5}{2}} e^{5} + 100 \, x^{3} e^{6}\right )} n^{2} e^{\left (-6\right )} - 60 \, {\left (60 \, d^{6} e^{\left (-7\right )} \log \left (\sqrt {x} e + d\right ) + {\left (30 \, d^{4} x e - 60 \, d^{5} \sqrt {x} - 20 \, d^{3} x^{\frac {3}{2}} e^{2} + 15 \, d^{2} x^{2} e^{3} - 12 \, d x^{\frac {5}{2}} e^{4} + 10 \, x^{3} e^{5}\right )} e^{\left (-6\right )}\right )} n e \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right )\right )} a b^{2} - \frac {1}{108000} \, {\left (1800 \, {\left (60 \, d^{6} e^{\left (-7\right )} \log \left (\sqrt {x} e + d\right ) + {\left (30 \, d^{4} x e - 60 \, d^{5} \sqrt {x} - 20 \, d^{3} x^{\frac {3}{2}} e^{2} + 15 \, d^{2} x^{2} e^{3} - 12 \, d x^{\frac {5}{2}} e^{4} + 10 \, x^{3} e^{5}\right )} e^{\left (-6\right )}\right )} n e \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right )^{2} + {\left ({\left (36000 \, d^{6} \log \left (\sqrt {x} e + d\right )^{3} + 264600 \, d^{6} \log \left (\sqrt {x} e + d\right )^{2} + 809340 \, d^{6} \log \left (\sqrt {x} e + d\right ) - 809340 \, d^{5} \sqrt {x} e + 140070 \, d^{4} x e^{2} - 41180 \, d^{3} x^{\frac {3}{2}} e^{3} + 13785 \, d^{2} x^{2} e^{4} - 4368 \, d x^{\frac {5}{2}} e^{5} + 1000 \, x^{3} e^{6}\right )} n^{2} e^{\left (-7\right )} - 60 \, {\left (1800 \, d^{6} \log \left (\sqrt {x} e + d\right )^{2} + 8820 \, d^{6} \log \left (\sqrt {x} e + d\right ) - 8820 \, d^{5} \sqrt {x} e + 2610 \, d^{4} x e^{2} - 1140 \, d^{3} x^{\frac {3}{2}} e^{3} + 555 \, d^{2} x^{2} e^{4} - 264 \, d x^{\frac {5}{2}} e^{5} + 100 \, x^{3} e^{6}\right )} n e^{\left (-7\right )} \log \left ({\left (\sqrt {x} e + d\right )}^{n} c\right )\right )} n e\right )} b^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.44, size = 1098, normalized size = 1.21 \begin {gather*} \frac {1}{108000} \, {\left (36000 \, b^{3} x^{3} e^{6} \log \left (c\right )^{3} - 1000 \, {\left (b^{3} n^{3} - 6 \, a b^{2} n^{2} + 18 \, a^{2} b n - 36 \, a^{3}\right )} x^{3} e^{6} - 15 \, {\left (919 \, b^{3} d^{2} n^{3} - 2220 \, a b^{2} d^{2} n^{2} + 1800 \, a^{2} b d^{2} n\right )} x^{2} e^{4} - 36000 \, {\left (b^{3} d^{6} n^{3} - b^{3} n^{3} x^{3} e^{6}\right )} \log \left (\sqrt {x} e + d\right )^{3} - 30 \, {\left (4669 \, b^{3} d^{4} n^{3} - 5220 \, a b^{2} d^{4} n^{2} + 1800 \, a^{2} b d^{4} n\right )} x e^{2} + 1800 \, {\left (147 \, b^{3} d^{6} n^{3} - 30 \, b^{3} d^{4} n^{3} x e^{2} - 60 \, a b^{2} d^{6} n^{2} - 15 \, b^{3} d^{2} n^{3} x^{2} e^{4} - 10 \, {\left (b^{3} n^{3} - 6 \, a b^{2} n^{2}\right )} x^{3} e^{6} - 60 \, {\left (b^{3} d^{6} n^{2} - b^{3} n^{2} x^{3} e^{6}\right )} \log \left (c\right ) + 4 \, {\left (15 \, b^{3} d^{5} n^{3} e + 5 \, b^{3} d^{3} n^{3} x e^{3} + 3 \, b^{3} d n^{3} x^{2} e^{5}\right )} \sqrt {x}\right )} \log \left (\sqrt {x} e + d\right )^{2} - 9000 \, {\left (6 \, b^{3} d^{4} n x e^{2} + 3 \, b^{3} d^{2} n x^{2} e^{4} + 2 \, {\left (b^{3} n - 6 \, a b^{2}\right )} x^{3} e^{6}\right )} \log \left (c\right )^{2} - 60 \, {\left (13489 \, b^{3} d^{6} n^{3} - 8820 \, a b^{2} d^{6} n^{2} + 1800 \, a^{2} b d^{6} n - 100 \, {\left (b^{3} n^{3} - 6 \, a b^{2} n^{2} + 18 \, a^{2} b n\right )} x^{3} e^{6} - 15 \, {\left (37 \, b^{3} d^{2} n^{3} - 60 \, a b^{2} d^{2} n^{2}\right )} x^{2} e^{4} - 90 \, {\left (29 \, b^{3} d^{4} n^{3} - 20 \, a b^{2} d^{4} n^{2}\right )} x e^{2} + 1800 \, {\left (b^{3} d^{6} n - b^{3} n x^{3} e^{6}\right )} \log \left (c\right )^{2} - 60 \, {\left (147 \, b^{3} d^{6} n^{2} - 30 \, b^{3} d^{4} n^{2} x e^{2} - 60 \, a b^{2} d^{6} n - 15 \, b^{3} d^{2} n^{2} x^{2} e^{4} - 10 \, {\left (b^{3} n^{2} - 6 \, a b^{2} n\right )} x^{3} e^{6}\right )} \log \left (c\right ) + 12 \, {\left (2 \, {\left (11 \, b^{3} d n^{3} - 30 \, a b^{2} d n^{2}\right )} x^{2} e^{5} + 5 \, {\left (19 \, b^{3} d^{3} n^{3} - 20 \, a b^{2} d^{3} n^{2}\right )} x e^{3} + 15 \, {\left (49 \, b^{3} d^{5} n^{3} - 20 \, a b^{2} d^{5} n^{2}\right )} e - 20 \, {\left (15 \, b^{3} d^{5} n^{2} e + 5 \, b^{3} d^{3} n^{2} x e^{3} + 3 \, b^{3} d n^{2} x^{2} e^{5}\right )} \log \left (c\right )\right )} \sqrt {x}\right )} \log \left (\sqrt {x} e + d\right ) + 300 \, {\left (20 \, {\left (b^{3} n^{2} - 6 \, a b^{2} n + 18 \, a^{2} b\right )} x^{3} e^{6} + 3 \, {\left (37 \, b^{3} d^{2} n^{2} - 60 \, a b^{2} d^{2} n\right )} x^{2} e^{4} + 18 \, {\left (29 \, b^{3} d^{4} n^{2} - 20 \, a b^{2} d^{4} n\right )} x e^{2}\right )} \log \left (c\right ) + 4 \, {\left (12 \, {\left (91 \, b^{3} d n^{3} - 330 \, a b^{2} d n^{2} + 450 \, a^{2} b d n\right )} x^{2} e^{5} + 5 \, {\left (2059 \, b^{3} d^{3} n^{3} - 3420 \, a b^{2} d^{3} n^{2} + 1800 \, a^{2} b d^{3} n\right )} x e^{3} + 1800 \, {\left (15 \, b^{3} d^{5} n e + 5 \, b^{3} d^{3} n x e^{3} + 3 \, b^{3} d n x^{2} e^{5}\right )} \log \left (c\right )^{2} + 15 \, {\left (13489 \, b^{3} d^{5} n^{3} - 8820 \, a b^{2} d^{5} n^{2} + 1800 \, a^{2} b d^{5} n\right )} e - 180 \, {\left (2 \, {\left (11 \, b^{3} d n^{2} - 30 \, a b^{2} d n\right )} x^{2} e^{5} + 5 \, {\left (19 \, b^{3} d^{3} n^{2} - 20 \, a b^{2} d^{3} n\right )} x e^{3} + 15 \, {\left (49 \, b^{3} d^{5} n^{2} - 20 \, a b^{2} d^{5} n\right )} e\right )} \log \left (c\right )\right )} \sqrt {x}\right )} e^{\left (-6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \log {\left (c \left (d + e \sqrt {x}\right )^{n} \right )}\right )^{3}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 2223 vs.
\(2 (803) = 1606\).
time = 4.97, size = 2223, normalized size = 2.45 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 8.18, size = 976, normalized size = 1.08 \begin {gather*} \frac {a^3\,x^3}{3}+\frac {b^3\,x^3\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^3}{3}-\frac {b^3\,n^3\,x^3}{108}+a\,b^2\,x^3\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2-\frac {b^3\,n\,x^3\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{6}+\frac {b^3\,n^2\,x^3\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{18}+\frac {a\,b^2\,n^2\,x^3}{18}-\frac {b^3\,d^6\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^3}{3\,e^6}+a^2\,b\,x^3\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )-\frac {a^2\,b\,n\,x^3}{6}-\frac {a\,b^2\,n\,x^3\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{3}-\frac {13489\,b^3\,d^6\,n^3\,\ln \left (d+e\,\sqrt {x}\right )}{1800\,e^6}-\frac {919\,b^3\,d^2\,n^3\,x^2}{7200\,e^2}+\frac {2059\,b^3\,d^3\,n^3\,x^{3/2}}{5400\,e^3}+\frac {13489\,b^3\,d^5\,n^3\,\sqrt {x}}{1800\,e^5}-\frac {a\,b^2\,d^6\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{e^6}+\frac {49\,b^3\,d^6\,n\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{20\,e^6}+\frac {91\,b^3\,d\,n^3\,x^{5/2}}{2250\,e}-\frac {4669\,b^3\,d^4\,n^3\,x}{3600\,e^4}-\frac {a^2\,b\,d^6\,n\,\ln \left (d+e\,\sqrt {x}\right )}{e^6}+\frac {b^3\,d\,n\,x^{5/2}\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{5\,e}-\frac {11\,b^3\,d\,n^2\,x^{5/2}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{75\,e}-\frac {b^3\,d^4\,n\,x\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{2\,e^4}+\frac {29\,b^3\,d^4\,n^2\,x\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{20\,e^4}-\frac {a^2\,b\,d^2\,n\,x^2}{4\,e^2}-\frac {11\,a\,b^2\,d\,n^2\,x^{5/2}}{75\,e}+\frac {29\,a\,b^2\,d^4\,n^2\,x}{20\,e^4}+\frac {a^2\,b\,d^3\,n\,x^{3/2}}{3\,e^3}+\frac {a^2\,b\,d^5\,n\,\sqrt {x}}{e^5}+\frac {49\,a\,b^2\,d^6\,n^2\,\ln \left (d+e\,\sqrt {x}\right )}{10\,e^6}-\frac {b^3\,d^2\,n\,x^2\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{4\,e^2}+\frac {37\,b^3\,d^2\,n^2\,x^2\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{120\,e^2}+\frac {b^3\,d^3\,n\,x^{3/2}\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{3\,e^3}-\frac {19\,b^3\,d^3\,n^2\,x^{3/2}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{30\,e^3}+\frac {b^3\,d^5\,n\,\sqrt {x}\,{\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}^2}{e^5}-\frac {49\,b^3\,d^5\,n^2\,\sqrt {x}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{10\,e^5}+\frac {37\,a\,b^2\,d^2\,n^2\,x^2}{120\,e^2}-\frac {19\,a\,b^2\,d^3\,n^2\,x^{3/2}}{30\,e^3}-\frac {49\,a\,b^2\,d^5\,n^2\,\sqrt {x}}{10\,e^5}+\frac {a^2\,b\,d\,n\,x^{5/2}}{5\,e}-\frac {a^2\,b\,d^4\,n\,x}{2\,e^4}+\frac {2\,a\,b^2\,d\,n\,x^{5/2}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{5\,e}-\frac {a\,b^2\,d^4\,n\,x\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{e^4}-\frac {a\,b^2\,d^2\,n\,x^2\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{2\,e^2}+\frac {2\,a\,b^2\,d^3\,n\,x^{3/2}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{3\,e^3}+\frac {2\,a\,b^2\,d^5\,n\,\sqrt {x}\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{e^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________